]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Don't apply overlap-preventing padding to search results
authorJonas Dreßler <verdre@v0yd.nl>
Sat, 24 Nov 2018 21:42:51 +0000 (22:42 +0100)
committerFlorian Müllner <florian.muellner@gmail.com>
Mon, 15 Jul 2019 23:00:34 +0000 (23:00 +0000)
Unlike the app grid, we show the search results while the dash is hidden
and with a small scrollbar instead of page indicator dots. This
means there's nothing the search results might horizontally overlap
with and the padding here is unneccessary.

The spacing between the search results and the screen edges is still
sufficient because of the paddings applied to searchResultsContent.

On very small screens (< 1000px), this allows the search results to
utilize a lot more of the horizontal screen space.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/110

data/theme/gnome-shell-sass/_common.scss

index 0750651d304e849c9d932160dab9913de032706b..7e3f513ec3029f973dfe20e0744cd0386a47caed 100644 (file)
@@ -1596,7 +1596,6 @@ StScrollBar {
   }
 
   //Some hacks I don't even
-  .search-display > StBoxLayout,
   .all-apps,
   .frequent-apps > StBoxLayout {
     // horizontal padding to make sure scrollbars or dash don't overlap content